package nongchang.kuaijiecaifu.com.ncapp_android.ui;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import ezy.lite.util.Param;
import nongchang.kuaijiecaifu.com.ncapp_android.R;
import nongchang.kuaijiecaifu.com.ncapp_android.common.activity.BaseActivity;

public class UserAnswerActivity extends BaseActivity {
@BindView(R.id.txt_question)
    TextView txt_question;
    @BindView(R.id.txt_answer)
    TextView txtAnswer;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_answer);
        ButterKnife.bind(this);
        int position= getIntent().getIntExtra("poi",0);
        String[] question=getResources().getStringArray(R.array.kjlife_quetion);
        String[] answer=getResources().getStringArray(R.array.kjlife_answer);
        txt_question.setText(question[position]);
        txtAnswer.setText(answer[position]);
    }
}
